package com.wltt.product.ahuthr.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.wltt.product.ahuthr.model.po.SystemLevelSalaryPO;
import com.wltt.product.ahuthr.mapper.base.BaseMapper;


/**
 * @ClassName: SystemLevelSalaryPO
 * @Description: Dao
 * @Date: 2024-05-30 14:34:21
 * @Author yanggl
 */
public interface SystemLevelSalaryMapper extends BaseMapper<SystemLevelSalaryPO, Long> {

    /**
     * 根据岗位类别查询
     *
     * @param postTypeId
     * @return
     */
    List<SystemLevelSalaryPO> queryByPostTypeId(@Param("postTypeId") Long postTypeId);

    /**
     * 根据岗位类别和薪级查询
     *
     * @param postTypeId
     * @param levelRank
     * @return
     */
    SystemLevelSalaryPO queryByPostTypeIdAndRank(@Param("postTypeId") Long postTypeId, @Param("levelRank") Integer levelRank, @Param("modifyYear") String modifyYear);
}